Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate JetStream models with NJsonSchema #90

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

caleblloyd
Copy link
Collaborator

Uses NJsonSchema and schemas from jsm.go to generate JetStream models.

I copied the schema files to this project, as I did end up editing them slightly. We may just want to treat this as a 1-time import though, where the models can be hand edited afterwards and don't need to stay in sync. f that is the case, I can remove the schema files and import script from the PR. Or we can leave them for now, and remove them in the future once they have diverged.

@caleblloyd caleblloyd requested a review from mtmk July 13, 2023 04:27
Copy link
Collaborator

@mtmk mtmk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mtmk mtmk merged commit ba0bf9e into 85-jetstream-initial-support Jul 13, 2023
4 checks passed
@mtmk mtmk deleted the js-model-generation branch July 13, 2023 11:25
mtmk added a commit that referenced this pull request Jul 13, 2023
* Started JetStream project

* Test projects tidy-up and minor fixes

* Seperated JetStream tests
* Naming fix for JS
* Exclude JetStream from NuGet for now

* Adding generated records (#88)

* Adding records to jumpstart jetstream

* by hand changes

* Fixed stream model names

* Set minimum stream config defaults

* Fixed JSON types

* better conversion (#89)

* Increased logging on flaky test

* generate JetStream models with NJsonSchema (#90)

Signed-off-by: Caleb Lloyd <[email protected]>

* Trace another flaky test

---------

Signed-off-by: Caleb Lloyd <[email protected]>
Co-authored-by: Scott Fauerbach <[email protected]>
Co-authored-by: Caleb Lloyd <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants